package org.example.repository;

import entity.ExceptionTracking;
import entity.InspectionMaterial;
import entity.MaterialOrder;
import entity.QualityInspection;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExceptionTrackingRepository {

    //List<InspectionMaterial> findExceptionById(Integer exceptionId);

    //改
    MaterialOrder findMaterialOrderById(String materialBatchId);
    List<InspectionMaterial> findInspectionMaterialById(Integer exceptionId);
    void updateExceptionTracking(ExceptionTracking exceptionTracking);
    void addExceptionTracking(ExceptionTracking exceptionTracking);
}
